<%@ page language="java" isELIgnored="false"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
<!-- 这里引入导航信息header.tpl -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>主消息配置详情页</title>
<script type="text/javascript">
var pagePath = '<%=context%>';
var msgConfSendType='${msgConf.sendType}';
</script>
</head>

<body class="sub-page">
	<!-- 系列产品查看模态窗 -->
	<div class="modal-content">
		<div class="modal-header">
			<h4 class="modal-title">主消息配置详情页</h4>
		</div>
		<div class="modal-body">
			<div class="table-responsive">
				<table class="table table-bordered">
					<colgroup>
						<col width="20%">
						<col width="30%">
						<col width="20%">
						<col width="30%">
					</colgroup>
					<tbody>
						<tr>
							<td>标题</td>
							<td colspan="3" class="white-bg"><span>${msgConf.title}</span>
							</td>
						</tr>
						<tr>
							<td>排序号</td>
							<td class="white-bg"><span>${msgConf.sortNo}</span></td>
							<td>消息代码</td>
							<td class="white-bg"><span>${msgConf.msgCode}</span></td>
						</tr>
						<tr>
							<td>发送类型</td>
							<td class="white-bg"><span> 
							        <c:if test="${msgConf.sendTypeNotice=='Notice'}">&nbsp;&nbsp;&nbsp;&nbsp;通知</c:if>
									<c:if test="${msgConf.sendTypeEmail=='Email'}">&nbsp;&nbsp;&nbsp;&nbsp;邮件</c:if>
									<c:if test="${msgConf.sendTypeBacklog=='Backlog'}">&nbsp;&nbsp;&nbsp;&nbsp;待办</c:if>
									<c:if test="${msgConf.sendTypeSms=='Sms'}">&nbsp;&nbsp;&nbsp;&nbsp;短信</c:if>
									<c:if test="${msgConf.sendTypeWeChat=='WeChat'}">&nbsp;&nbsp;&nbsp;&nbsp;微信</c:if>
							</span></td>
							<td>触发条件</td>
							<td class="white-bg"><span>${msgConf.triggerDate}</span></td>
						</tr>
						<tr id="noticeTitleTemplate" style="display: none;">
							<td>通知标题模板</td>
							<td colspan="3" class="white-bg">
								<span>
									${msgConf.noticeTitleTemplate}
								</span>
							</td>
						</tr>
						<tr id="noticeContentTemplate" style="display: none;">
							<td>通知内容模板</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" rows="10" readonly="readonly">${msgConf.noticeContentTemplate}</textarea>
								</div>
							</td>
						</tr>
						<tr id="emailTitleTemplate" style="display: none;">
							<td>EMAIL标题模板</td>
							<td colspan="3" class="white-bg">
								<span>${msgConf.emailTitleTemplate}</span>
							</td>
						</tr>
						<tr id="emailContentTemplate" style="display: none;">
							<td>EMAIL内容模板</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" rows="10" readonly="readonly">${msgConf.emailContentTemplate}</textarea>
								</div>
							</td>
						</tr>
						<tr id="smsContentTemplate" style="display: none;">
							<td>SMS内容模板</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" rows="5" readonly="readonly">${msgConf.smsContentTemplate}</textarea>
								</div>
							</td>
						</tr>
						<tr id="backlogTitleTemplate" style="display: none;">
							<td>待办标题模板</td>
							<td colspan="3" class="white-bg">
								<span>${msgConf.backlogTitleTemplate}</span>
							</td>
						</tr>
						<tr id="backlogContentTemplate" style="display: none;">
							<td>待办内容模板</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" rows="10" readonly="readonly">${msgConf.backlogContentTemplate}</textarea>
								</div>
							</td>
						</tr>
						<tr id="backlogMenu" style="display: none;">
							<td>待办对应菜单</td>
							<td colspan="3" class="white-bg">
								<span>${msgConf.backlogMenuName}</span>
							</td>
						</tr>
						<tr id="backlogUrl" style="display: none;">
							<td>待办路径</td>
							<td colspan="3" class="white-bg">
								<span>${msgConf.backlogUrl}</span>
							</td>
						</tr>
						<tr id="backlogPageUrl" style="display: none;">
							<td>待办路径</td>
							<td colspan="3" class="white-bg">
								<span>${msgConf.backlogPageUrl}</span>
							</td>
						</tr>
						<tr id="backlogParameter" style="display: none;">
							<td>待办参数及值</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" rows="10" readonly="readonly">${msgConf.backlogParameter}</textarea>
								</div>
							</td>
						</tr>
						<tr>
							<td>备注</td>
							<td colspan="3" class="white-bg">
								<div>
									<textarea cols="80" class="form-control"  rows="10" readonly="readonly">${msgConf.remark}</textarea>
								</div>
							</td>
						</tr>
						<tr>
							<td>创建人</td>
							<td class="white-bg"><span> ${msgConf.createName} <c:if
										test="${msgConf.createId!=null and msgConf.createId!=''}">
									(${msgConf.createId})
								</c:if>
							</span></td>
							<td>创建时间</td>
							<td class="white-bg"><span>${msgConf.createDate}</span></td>
						</tr>
						<tr>
							<td>修改人</td>
							<td class="white-bg"><span>${msgConf.modifyName} <c:if test="${msgConf.modifyId!=null and msgConf.modifyId!=''}">
									(${msgConf.modifyId})
								</c:if>
							</span></td>
							<td>修改时间</td>
							<td class="white-bg"><span>${msgConf.modifyDate}</span></td>
						</tr>
						<tr>
							<td colspan="4" class="white-bg"></td>
						</tr>
						<tr>
							<td colspan="4"><strong>收件人</strong></td>
						</tr>
						<tr>
							<td>用户名称</td>
							<td colspan="3" class="white-bg"><sapn>&nbsp;&nbsp;&nbsp;&nbsp;${msgEmpConfR.empIdsNM}</sapn></td>
						</tr>
						<tr>
							<td>特殊通知人</td>
							<td colspan="3" class="white-bg">
								<div>
									<c:if test="${msgEmpConfR.specialEmpsM=='M'}">&nbsp;&nbsp;&nbsp;&nbsp;主管</c:if>
									<c:if test="${msgEmpConfR.specialEmpsS=='S'}">&nbsp;&nbsp;&nbsp;&nbsp;指定处理人</c:if>
									<c:if test="${msgEmpConfR.specialEmpsD=='D'}">&nbsp;&nbsp;&nbsp;&nbsp;默认处理人</c:if>
									<c:if test="${msgEmpConfR.specialEmpsT=='T'}">&nbsp;&nbsp;&nbsp;&nbsp;转办委托人</c:if>
								</div>
							</td>
						</tr>
						<tr>
							<td>公共邮箱</td>
							<td colspan="3" class="white-bg"><span>&nbsp;&nbsp;&nbsp;&nbsp;${publicEmailNamesR}</span>
							</td>
						</tr>

						<tr>
							<td colspan="4" class="white-bg"></td>
						</tr>
						<tr>
							<td colspan="4"><strong>抄送人</strong></td>
						</tr>
						<tr>
							<td>用户名称</td>
							<td colspan="3" class="white-bg"><span>&nbsp;&nbsp;&nbsp;&nbsp;${msgEmpConfC.empIdsNM}</span>
							</td>
						</tr>
						<tr>
							<td>特殊通知人</td>
							<td colspan="3" class="white-bg">
								<div>
									<c:if test="${msgEmpConfC.specialEmpsM=='M'}">&nbsp;&nbsp;&nbsp;&nbsp;主管</c:if>
									<c:if test="${msgEmpConfC.specialEmpsS=='S'}">&nbsp;&nbsp;&nbsp;&nbsp;指定处理人</c:if>
									<c:if test="${msgEmpConfC.specialEmpsD=='D'}">&nbsp;&nbsp;&nbsp;&nbsp;默认处理人</c:if>
									<c:if test="${msgEmpConfC.specialEmpsT=='T'}">&nbsp;&nbsp;&nbsp;&nbsp;转办委托人</c:if>
								</div>
							</td>
						</tr>
						<tr>
							<td>公共邮箱</td>
							<td colspan="3" class="white-bg"><span>&nbsp;&nbsp;&nbsp;&nbsp;${publicEmailNamesC}</span>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>

<script type="text/javascript" src="<%=context%>resources/modules/system/sys/msg/msgConf.detail.js?r=<%=Math.random()%>"></script>
</body>